//
//  FFBaseViewController.h
//  LoveAssistant
//
//  Created by nono on 16/8/25.
//  Copyright © 2016年 nono. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FFDefine.h"

@interface FFBaseViewController : UIViewController

/*是否登陆*/
//@property (nonatomic, assign) BOOL isLogin;

/*登陆是否需要动画no不需要，yes需要*/
//@property (nonatomic, assign) BOOL loginNeedAnim;

- (void)setNavTitleView:(NSString *)title viewController:(UIViewController *)viewController;
- (void)setNavTitleView:(NSString *)title viewController:(UIViewController *)viewController fontColor:(UIColor *)fontColor fontSize:(CGFloat)fontsize;

/**
 *  设置导航条颜色
 *
 *  @param viewController 控制器
 */
- (void)setNavbarColor:(UIViewController *)viewController;
- (void)setNavbarColor:(UIViewController *)viewController color:(UIColor *)color;

/**
 *  设置导航条右边按钮
 *
 *  @param viewController 控制器
 *  @param title 标题
 *  @param target target
 *  @param action action
 *
 */
- (void)setNavRightItemWithVc:(UIViewController *) viewController title:(NSString *)title target:(id)target action:(SEL)action;

@end
